/**
 * This Class will Print 1 to 10 numbers using While loop
 * @author Ravi
 *
 */


public class WhileLoopDemo {


 public static void main(String[] args) {
  int i = 1;
  while(i<11)
  {
   System.out.println( " Value of i = " +i);
   i++;
  }
  
 }

}